<!--
 * @Description  : 
 * @Author       : zhao
 * @Date         : 2022-06-28 11:16:18
 * @LastEditors  : zhao
 * @LastEditTime : 2022-08-02 16:57:57
-->
<!--
 * @Description:分页
 * @Version: 2.0
 * @Author: zhao
 * @Date: 2022-06-15 10:02:53
 * @LastEditors: zhao
 * @LastEditTime: 2022-06-15 10:02:57
-->
<template>
  <el-pagination :current-page="$store.state.PaginationData.pageIndex" :page-sizes="[100, 200, 300, 400]"
    :page-size="100" layout="total, sizes, prev, pager, next, jumper" :total="400" @size-change="handleSizeChange"
    @current-change="handleCurrentChange" />
</template>

<script>
export default {
  components: {

  },
  props: {

  },
  data() {
    return {
      currentPage4: 1
    }
  },
  mounted() { },
  methods: {
    handleSizeChange(val) {

      this.$store.state.PaginationData.pageSize = val
    },
    handleCurrentChange(val) {
      this.$store.state.PaginationData.pageIndex = val
    }
  }
}
</script>

<style scoped lang="scss">
</style>
